﻿<%@ Page Title="未审核的企业" Language="C#" MasterPageFile="~/Admin/Master/AdminMaster.Master"
    AutoEventWireup="true" CodeBehind="CompanyCheckList.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.SystemManage.CompanyCheckList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li><a href="CompnayManage.aspx">企业列表</a></li>
            <li class="active"><a href="javascript:void(0);">未注册的企业</a></li>
            <li><a href="CompanyCheckedList.aspx">企业审核</a></li>
          <li><a href="ComListSendPwd.aspx">发放用户名密码</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                企业名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCompanyName" runat="server"></asp:TextBox>
                            </td>
                            <td align="left">
                                &nbsp;
                                <asp:DropDownList ID="dplPageSize" runat="server">
                                    <asp:ListItem Selected="True" Value="10">每页10条</asp:ListItem>
                                    <asp:ListItem Value="50">每页50条</asp:ListItem>
                                    <asp:ListItem Value="100">每页100条</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                </td>
                <td>
                    <hz:HzButton ID="btnQuery" runat="server" OnClick="btnQuery_Click" Text="查询" CssClass="btn" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwCheckList" CssClass="mainlist" AutoGenerateColumns="False" EmptyDataText="暂无符合条件的数据！"
        runat="server">
        <Columns>
            <asp:TemplateField HeaderText=" ">
                <HeaderTemplate>
                    <input id="chkAll" name="chkAll" type="checkbox" onclick="SelectAllCheckboxes(this,'ctl00_ContentPlaceHolder1_gvwCheckList','chkAll'); " />
                </HeaderTemplate>
                <ItemTemplate>
                    <input type="checkbox" name="chkChildUser" id="chkChildUser" value='<%#Eval("CompanyName")%>'
                        onclick="chkChecked(this,'ctl00_ContentPlaceHolder1_gvwCheckList','chkAll');" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="companyname" HeaderText="企业名称" ReadOnly="true" />
            <asp:BoundField DataField="telno" HeaderText="电话" ReadOnly="true" />
            <asp:TemplateField HeaderText="手机">
                <ItemTemplate>
                    <asp:Label ID="lbCellNo" runat="server" Text='<%# Bind("cellno") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="contactperson" HeaderText="联系人" ReadOnly="true" />
            <asp:BoundField DataField="LayMan" HeaderText="企业法人" ReadOnly="true" />
            <asp:BoundField DataField="TotalFund" HeaderText="总资产(万元)" ReadOnly="true" />
            <asp:BoundField DataField="FixFund" HeaderText="固定资产" ReadOnly="true" />
            <asp:BoundField DataField="BusinessCertificate" HeaderText="经营许可证" ReadOnly="true" />
            <asp:BoundField DataField="BusinessCertificateDate" HeaderText="许可证有效期" ReadOnly="true" />
            <asp:BoundField DataField="GSPCode" HeaderText="GSP认证编号" ReadOnly="true" />
            <asp:BoundField DataField="GSPTime" HeaderText="有效期" ReadOnly="true" />
            <asp:BoundField DataField="IsGSP" HeaderText="是否GSP认证" ReadOnly="true" />
            <asp:BoundField DataField="GSPCode" HeaderText="GSP认证编号" ReadOnly="true" />
            <asp:BoundField DataField="CheckStatus" HeaderText="审核状态" ReadOnly="true" Visible="false" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>说明:</li>
        </ul>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="btnBatUnLock" runat="server" OnClick="btnBatUnLock_Click" OnClientClick="if(checkSelectedItems('ctl00_ContentPlaceHolder1_gvwCheckList','请至少选定一个企业！')) {return confirm('确实审核通过？');}return false;"
            CssClass="btn" Text="审核通过"  OperateType="审核"/>
        &nbsp;&nbsp;
        <hz:HzButton ID="btnBatResetPws" runat="server" OnClick="btnBatResetPws_Click" OnClientClick=" if(checkSelectedItems('ctl00_ContentPlaceHolder1_gvwCheckList','请至少选定一个企业！')) {return confirm('确实要删除所选企业？');}return false;"
            Text="删除" CssClass="btn" OperateType="删除" />
    </div>
</asp:Content>
